package labox.innovation.gameserver.model;

/**
 * 快捷方式对象
 *
 * @version $Revision: 1.3.4.1 $ $Date: 2005/03/27 15:29:32 $
 */
public class L2ShortCut {

	/**
	 * 道具类型
	 */
	public final static int TYPE_ITEM = 0;

	/**
	 * 技能类型
	 */
	public final static int TYPE_SKILL = 1;

	/**
	 * 界面类型
	 */
	public final static int TYPE_INTERFACE = 2;

	/**
	 * 快捷对象所在的槽位
	 */
	private int _slot;

	/**
	 * 快捷对象的类型
	 */
	private int _type;

	/**
	 * 快捷方式中对象的objectid
	 */
	private long _id;

	public L2ShortCut(int slotId, int shortcutType, long shortcutId) {
		_slot = slotId;
		_type = shortcutType;
		_id = shortcutId;
	}

	public long getId() {
		return _id;
	}

	public int getSlot() {
		return _slot;
	}

	public int getType() {
		return _type;
	}

	public void setId(long id) {
		_id = id;
	}

	public void setSlot(int slot) {
		_slot = slot;
	}

	public void setType(int type) {
		_type = type;
	}
}
